#ifndef GS_PLAY_MONOPOLY_H
#define GS_PLAY_MONOPOLY_H
#include "GameCore\GameState.h"
#include "GameCore\Camera.h"
#include "GameCore\Shader.h"
#include "GameCore\sprite.h"
#include "GameObjects\GameObject2D.h"
#include "GameObjects\GameObject3D.h"
#include "GameCore\RenderTarget.h"
#include "btBulletDynamicsCommon.h"
#include <vector>
class GS_PlayMonopoly : public GameState
{
public:
	virtual void Init();

	virtual bool PostInit(int& step)
	{
		return true;
	}
	virtual void Release();

	virtual void Update(float timeTotal, float timeDelta);

	virtual void Render();

	virtual void OnTouchDown(unsigned int id, float x, float y);
	virtual void OnTouchUp(unsigned int id, float x, float y);
	virtual void OnTouchMove(unsigned int id, float x, float y);
protected:
	Camera* camera;
	Matrix projection3D;
	VBO *vboBoard;
	Sprite* spriteBoard;
	GameObject3D* character;
	void GenerateBoard();
	void DrawBoard();
	void CameraFollowCharacter(GameObject3D* character);
};
#endif